﻿@{
    ViewBag.Title = "Default";
}

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    @*<title>Babyface美容管理系统</title>*@
    <link href="/css/index.css" rel="stylesheet" type="text/css" />
    <link href="/css/product.css" rel="stylesheet" type="text/css" />
    <script src="~/js/jquery-1.6.2.min.js"></script>
    <script src="/js/public_ajax.js" type="text/javascript"></script>
    <script src="/js/Todo.js" type="text/javascript"></script>
    <script type="text/javascript">
        var URL_Todo = "TodoHandler.aspx";
        window.onload = function () {
            //window.setInterval(Index_Todo, 60000); //1000是1秒
            //window.setInterval(Index_Todo, 5000); //1000是1秒
        }
    </script>
</head>
<body>
    <div id="head_div" class="header">
        <div class="LOGO">
            @*<a><img src="css/image/logo.png" /></a>*@
        </div>

        <div class="header_left">
            <div class="HY">
                @*<div id="cc" class="HY_tuiChu">您好，欢迎来到天天美容管理系统</div>*@
                <div class="clear_float"></div>
            </div>
            <div class="header_date">日期：@(DateTime.Now.ToString("yyyy-MM-dd"))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
            <div>
                <div class="mune">
                    <input type="submit" value="系统设置" class="submit-XT">
                    <input type="submit" value="退出" onclick="document.location.href='Login.aspx'" class="submit-TC">
                </div>
                <div class="header_userInfo">
                    @*<span class="header_userInfo_text">用户：<%=CurrentUser.realName%></span>
                        <span class="header_userInfo_text">职务：<%=_RoleName%></span>
                        <span class="header_userInfo_text">部门：<%=_OrganizationName%></span>*@
                </div>
            </div>
        </div>
        <div class="clear_float">
        </div>
    </div>
    <table style="width:100%;" cellpadding="0" cellspacing="0">
        <tr>
            <td id="left_td" style="width:190px; vertical-align:top; background:url(/css/image/tupian_31.png) repeat-y;">
                <div id="menusidebar">
                    <div class="sidebar-a">
                        <ul>
                            <li class="menu-GN"><img src="/css/image/tubiao_25.png" /><div class="gongneng">功能菜单</div></li>
                        </ul>
                        <ul>
                            @Html.Raw(@ViewBag.Menu)
                        </ul>
                        <script type="text/javascript">
                            function show(x) {
                                for (var i = 1; i <= iteams; i++) {
                                    if (x != i)
                                        $("#menulist" + i).attr('class', "erjicaidan_none");
                                }
                                if ($("#menulist" + x).attr('class') != "erjicaidan") {
                                    $("#menulist" + x).attr('class', "erjicaidan");
                                }
                                else {
                                    $("#menulist" + x).attr('class', "erjicaidan_none");
                                }
                            }
                        </script>
                    </div>
                </div>
            </td>

            <td style="vertical-align:top;">
                <div id="sidebar-right">
                    <iframe id="mainbox" name="mainbox" frameborder="0"
                            height="676px" width="100%"></iframe>
                </div>
            </td>
        </tr>
    </table>
    <div id="notification" class="notification" style="display:none;">
        <div class="notification_2">
            <span>待办事宜</span>
            <a href="javascript:;" onclick="Hide_notification()" class="icon_close"></a>
        </div>
        <div id="notificationContent" class="notification_3">
            <span>服务管理有新消息（2）</span>
        </div>
    </div>
    <!--左边、顶部 展开与隐藏-->
    <a id="SoSuo" href="javascript:left_OpenClose()" class="SoSuo_caidan_left"></a>
    <script type="text/javascript">
        function left_OpenClose() {
            if (document.getElementById("SoSuo").className == "SoSuo_caidan_left") {//此时为左边栏打开的情况
                //将左边栏关闭
                document.getElementById("SoSuo").className = "SoSuo_caidan_right";
                $("#head_div").css("display", "none");
                $("#left_td").css("display", "none");
            }
            else {
                document.getElementById("SoSuo").className = "SoSuo_caidan_left";
                $("#head_div").css("display", "block");
                $("#left_td").css("display", "table-cell");
            }
        }
    </script>
</body>
</html>
